using System.ComponentModel.DataAnnotations;

namespace Admin.NET.Application.Service.Rules.Dto;

public class UpdateWaterPriceRuleInput
{
	/// <summary>
	/// name
	/// </summary>
	[Required(ErrorMessage = "名称不能为空")]
	public string Name { get; set; }

	public decimal? Price { get; set; }

	/// <summary>
	/// 描述
	/// </summary>
	public virtual string Description { get; set; }

	/// <summary>
	/// id
	/// </summary>
	[Required(ErrorMessage = "id不能为空")]
	public long Id { get; set; }
}
